<%@ Page Language="C#" AutoEventWireup="true" CodeFile="advertisementAdd.aspx.cs" Inherits="admin_Advertisement_advertisementAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加广告管理</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />
    <script type="text/javascript" src="../js/Checkinput.js"></script>
</head>
<body>
<form id="form1" runat="server">
<div class="itemtitle">
<h3>操作提示</h3>
</div>
<div class="itemtitle_tect">
<ul>
<li>通过添加广告，您可以选择相应的广告位及设置广告图片、大小、链接等操作；</li>
<li>请先根据实际情况选择所属广告位，然后添加新广告。</li>
</ul>
</div>
<div class="clr"></div>
<div class="talbe_border">
 <table border="0" cellpadding="0" cellspacing="0" class="talbe_list">
	 <tr>
   <th colspan="2" class="header tou">添加广告</th>
  </tr>
		<tr>
		<td width="16%" class="left1">所属广告位:</td>
		<td class="left2">
			<asp:DropDownList ID="DropDownList1" runat="server" Width="192px">
			</asp:DropDownList>
		</td>
		</tr>
		<tr>
		<td class="left1">广告名称:</td>
		<td class="left2">
           <asp:TextBox ID="txt_AdMName" runat="server" Width="199px"></asp:TextBox>
		</td>
		</tr>
		<tr>
			<td class="left1">上传图片:</td>
			<td class="left2">
				<asp:TextBox ID="TxB_Image" runat="server" Width="161px"></asp:TextBox>
		  <asp:Button ID="Btn_upload" runat="server" Text="上传" /></td>
		</tr>
		<tr style="display: none" id="df">
			<td class="left1">请上传图片:</td>
			<td class="left2">
				<asp:FileUpload ID="upfile_href" runat="server" Width="255px" />
				<asp:Button ID="Btn_up" runat="server" Text="上传" OnClick="Btn_up_Click" />
		  </td>
		</tr>
		<tr>
			<td class="left1">图片链接地址:</td>
			<td class="left2">
		  <asp:TextBox ID="TxB_Adrees" runat="server" Width="319px"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="left1">申请天数:</td>
			<td class="left2">
		  <asp:TextBox ID="TxB_Day" runat="server"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="left1">提示文字:</td>
			<td class="left2">
		  <asp:TextBox ID="TxB_word" runat="server" Width="319px"></asp:TextBox></td>
		</tr>
		<tr>
			<td colspan="2" bgcolor="#fefbf7">
				<asp:Button ID="btn_confim" runat="server" Text="确定" OnClick="btn_confim_Click1"  CssClass="i_button" />
			</td>
		</tr>
	</table>
</div>
</form>
</body>
</html>
